#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreMacrosDefine.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_Title.nanopb.h"
#ifndef MAX_TITLE_TITLE_NUM
#define MAX_TITLE_TITLE_NUM 116
#endif

class TitleDesc : public NFI_DESC_TEMPLATE_MACRO(TitleDesc, E_Title, EOT_CONST_TITLE_TITLE_DESC_ID, MAX_TITLE_TITLE_NUM)
public:
	TitleDesc();
	virtual ~TitleDesc();
	int CreateInit();
	int ResumeInit();
public:
	int Load(NFResDb *pDB) override;
	int LoadDB(NFResDb *pDB) override;
	int CheckWhenAllDataLoaded() override;
};
